package com.hcms.mybatis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 对象存储记录
 * </p>
 *
 * @author achenxw@126.com
 * @since 2023-02-23
 */
@Getter
@Setter
@TableName(value = "sys_resource")
@ApiModel(value = "SysResource对象", description = "对象存储记录")
public class SysResource implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;

    private String url;

    private String type;

    private Long size;

    private String sha1;

    private Long creator;

    private Date createTime;
}
